package com.sudo.dao.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_menu")
public class SysMenu {
    /**
     * 乐观锁
     */
    @Id
    private Integer id;

    /**
     * 菜单代码
     */
    @Column(name = "mCode")
    private String mCode;

    /**
     * 父菜单代码
     */
    @Column(name = "pCode")
    private String pCode;

    /**
     * 菜单名称
     */
    @Column(name = "mName")
    private String mName;

    /**
     * 菜单路径
     */
    @Column(name = "mUrl")
    private String mUrl;

    /**
     * 是否显示 1默认显示
     */
    @Column(name = "status")
    private String status;

    /**
     * 菜单Icon
     */
    @Column(name = "mIcon")
    private String mIcon;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建时间
     */
    @Column(name = "createTime")
    private String createTime;

    /**
     * 创建人
     */
    @Column(name = "createBy")
    private String createBy;

    /**
     * 更新时间
     */
    @Column(name = "updateTime")
    private String updateTime;

    /**
     * 更新人
     */
    @Column(name = "updateBy")
    private String updateBy;

    @Column(name = "note")
    private String note;
    /**
     * 获取乐观锁
     *
     * @return id - 乐观锁
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置乐观锁
     *
     * @param id 乐观锁
     */
    public void setId(Integer id) {
        this.id = id;
    }

    public String getmCode() {
        return mCode;
    }

    public void setmCode(String mCode) {
        this.mCode = mCode;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public String getmUrl() {
        return mUrl;
    }

    public void setmUrl(String mUrl) {
        this.mUrl = mUrl;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getmIcon() {
        return mIcon;
    }

    public void setmIcon(String mIcon) {
        this.mIcon = mIcon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
